package com.lzx.iteam.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;

/**
* Created by xuepengju on 14-6-26.
*/
public class NameCardContact {

    public String firstName = null;
    public String middleName = null;
    public String lastName = null;
    public String displayName = null;
    public String nickName = null;

    public byte[] pic = null;
    public String senderName = null;

    public String note = null;
    public String jobTitle = null;
    public String department = null;
    public String organization = null;
    public String[] sharedAddress = null;
    public boolean huidizi = false;
    public ArrayList<KeyValue> phoneArray = new ArrayList<KeyValue>();
    public ArrayList<KeyValue> emailArray = new ArrayList<KeyValue>();
    public ArrayList<KeyValue> urlArray = new ArrayList<KeyValue>();

    public String[] groupNameArray = null;
    public HashMap<String, String[]> address = null;

    public static class KeyValue implements Serializable {
        private static final long serialVersionUID = 9169667621468991611L;

        public String key;

        public String value;
    }

    @Override
    public String toString() {
        return "NameCardContact{" +
                "firstName='" + firstName + '\'' +
                ", middleName='" + middleName + '\'' +
                ", lastName='" + lastName + '\'' +
                ", displayName='" + displayName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", pic=" + Arrays.toString(pic) +
                ", senderName='" + senderName + '\'' +
                ", note='" + note + '\'' +
                ", jobTitle='" + jobTitle + '\'' +
                ", department='" + department + '\'' +
                ", organization='" + organization + '\'' +
                ", sharedAddress=" + Arrays.toString(sharedAddress) +
                ", huidizi=" + huidizi +
                ", phoneArray=" + phoneArray +
                ", emailArray=" + emailArray +
                ", urlArray=" + urlArray +
                ", groupNameArray=" + Arrays.toString(groupNameArray) +
                ", address=" + address +
                '}';
    }
}
